package cc.ok200.api.common;

public class ApiException extends Exception {
    private String code;
    
    public ApiException(String message) {
        super(message);
        this.code = "reject";
    }
    
    public ApiException(String code, String message) {
        super(message);
        this.code = code;
    }
    
    public String getCode() {
        return code;
    }
} 